UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Nutanix AOS must generate audit records for file ownership actions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-254147 NUTX-OS-000410 SV-254147r991570_rule Medium
Description
Without generating audit records that are specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one. Audit records can be generated from various components within the information system (e.g., module or policy filter).
STIG Date
Nutanix AOS 5.20.x OS Security Technical Implementation Guide 2024-06-18

Details

Check Text ( C-57632r846527_chk )
Confirm Nutanix AOS generates audit records on all successful/unsuccessful attempts to access categories of information occur.

$ sudo grep -iw chown /etc/audit/audit.rules
-a always,exit -F arch=b64 -S chown -F auid=0 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b64 -S chown -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b32 -S chown -F auid=0 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b32 -S chown -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete.

$ sudo grep -iw fchown /etc/audit/audit.rules
-a always,exit -F arch=b64 -S fchown -F auid=0 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b64 -S fchown -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b32 -S fchown -F auid=0 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b32 -S fchown -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete.
-a exit,never -F arch=b64 -S openat -S open -S fchown -F success=0 -F uid=1000 -F exit=-13.
-a exit,never -F arch=b64 -S fchown -F success=0 -F uid=0 -F exit=-13.

$ sudo grep -iw lchown /etc/audit/audit.rules
-a always,exit -F arch=b64 -S lchown -F auid=0 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b64 -S lchown -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b32 -S lchown -F auid=0 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b32 -S lchown -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete.

$ sudo grep -iw fchownat /etc/audit/audit.rules
-a always,exit -F arch=b64 -S fchownat -F auid=0 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b64 -S fchownat -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b32 -S fchownat -F auid=0 -k audit_time_perm_mod_export_delete.
-a always,exit -F arch=b32 -S fchownat -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete.

If the output does not contain all of the above rules, this is a finding.
If both the "b32" and "b64" audit rules are not defined for the listed syscall(s), this is a finding.
Fix Text (F-57583r846528_fix)
Configure the audit rules by running the following command.

$ sudo salt-call state.sls security/CVM/auditCVM